package mode.adapter.interfaceadapter;

/**
 * 接口适配器测试
 *
 * @author xjx
 * @date 2023/7/20 15:20
 */
public class MainTest {
    public static void main(String[] args) {
        PowerAdapter adapter = new PowerAdapter(new AC220());
        //适配成5V
        adapter.output5();
        //适配成12V
        adapter.output12();
    }
}
